package com.sktlab.bizconfmobile.model;

import com.sktlab.bizconfmobile.activity.AppClass;
import com.sktlab.bizconfmobile.model.db.GlobalDBHelper;


public class ModelManager
{

	private static class Holder{
		private static ModelManager instance = new ModelManager();
	}
	
  //private static ModelManager instance;
  private GlobalDBHelper m_dbHelper = new GlobalDBHelper(AppClass.getInstance());

  public static ModelManager getInstance()
  {
	  //initInstance();
    //return instance;
	  return Holder.instance;
  }

//  public static void initInstance()
//  {
//    if (instance == null)
//    {
//      instance = new ModelManager();
////      UtilityManager.initInstance();
////      UserManager.initInstance();
////      AccountManager.initInstance();
////      ValidationManager.initInstance();
////      CommunicationManager.initInstance();
////      MeetingControl.initInstance();
////      EmailTemplateManager.initInstance();
//    }
//  }

  public GlobalDBHelper getDBHelper()
  {
    return this.m_dbHelper;
  }
}